<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content=always name=referrer>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" >
</meta>
<title>新网</title>
<link href="${rc.contextPath}/common/css/common/common.css" rel="stylesheet" type="text/css" />
<link href="${rc.contextPath}/common/js/thickbox/thickbox.css"rel="stylesheet" type="text/css" />
<script type="text/javascript" src="${rc.contextPath}/common/js/common.js"></script>
<script type="text/javascript" src="${rc.contextPath}/common/js/thickbox/jquery.js"></script>
<script type="text/javascript" src="${rc.contextPath}/common/js/config.js"></script>
<script type="text/javascript" src="${rc.contextPath}/common/js/thickbox/thickbox.js"></script>

<script type="text/javascript">
    
    function customManage(){
    	var leftFrame = window.parent.frames['leftFrame'];
    	leftFrame.$("#authorityManage").css("display","none");
    	leftFrame.$("#ruleSet").css("display","none");
    	leftFrame.$("#massagePublish").css("display","none");
    	leftFrame.$("#serviceManage").css("display","none");
    	$("#customManage").css("color","yellow");
    	$("#serviceManage").css("color","black");
    	$("#ruleSet").css("color","black");
    	$("#massagePublish").css("color","black");
    	$("#authorityManage").css("color","black");
		leftFrame.$("#customManage").css("display","block");
		
    }
    
    function serviceManage(){
    	var leftFrame = window.parent.frames['leftFrame'];
    	leftFrame.$("#authorityManage").css("display","none");
    	leftFrame.$("#customManage").css("display","none");
    	leftFrame.$("#ruleSet").css("display","none");
    	leftFrame.$("#massagePublish").css("display","none");
    	$("#serviceManage").css("color","yellow");
    	$("#customManage").css("color","black");
    	$("#ruleSet").css("color","black");
    	$("#massagePublish").css("color","black");
    	$("#authorityManage").css("color","black");
		leftFrame.$("#serviceManage").css("display","block");
    }
    
    function authorityManage(){
    	var leftFrame = window.parent.frames['leftFrame'];
    	leftFrame.$("#ruleSet").css("display","none");
    	leftFrame.$("#massagePublish").css("display","none");
		leftFrame.$("#customManage").css("display","none");
		leftFrame.$("#serviceManage").css("display","none");
    	$("#authorityManage").css("color","yellow");
    	$("#ruleSet").css("color","black");
    	$("#massagePublish").css("color","black");
    	$("#serviceManage").css("color","black");
    	$("#customManage").css("color","black");
    	
    	
    	leftFrame.$("#authorityManage").css("display","block");
    	
    }
    
    function ruleSet(){
    	var leftFrame = window.parent.frames['leftFrame'];
    	leftFrame.$("#massagePublish").css("display","none");
		leftFrame.$("#customManage").css("display","none");
    	leftFrame.$("#authorityManage").css("display","none");
    	leftFrame.$("#serviceManage").css("display","none");
    	$("#ruleSet").css("color","yellow");
    	$("#customManage").css("color","black");
    	$("#massagePublish").css("color","black");
    	$("#serviceManage").css("color","black");
    	$("#authorityManage").css("color","black");
    	leftFrame.$("#ruleSet").css("display","block");
    	
    }
    function massagePublish(){
    	var leftFrame = window.parent.frames['leftFrame'];
    	
		leftFrame.$("#customManage").css("display","none");
    	leftFrame.$("#authorityManage").css("display","none");
    	leftFrame.$("#ruleSet").css("display","none");
    	leftFrame.$("#serviceManage").css("display","none");
    	$("#massagePublish").css("color","yellow");
    	$("#ruleSet").css("color","black");
    	$("#customManage").css("color","black");
    	$("#authorityManage").css("color","black");
    	$("#serviceManage").css("color","black");
    	leftFrame.$("#massagePublish").css("display","block");
    }

</script>



</head>
<body>
<input type="hidden" id="rootPath" value="${rc.contextPath}"/>
<div class="head">
        	<h1 class="logoImg"><a href="#" target="_parent"><img src="${rc.contextPath}/common/images/logo.gif" alt="" /></a></h1>
  <div class="sysMes">
            	<ul class="oper1">
                    <li><a href="${rc.contextPath}/login/logOut" target="_parent">退出</a></li>
                  <li><a  href="${rc.contextPath}/page/empInfo" target="mainFrame" >个人信息</a></li>
                  
                    <li><a href="${rc.contextPath}/page/goMain" target="mainFrame">首页</a></li>
                </ul>
                <ul class="oper2">
                	<li><a href="#" class="fontBlue">售后</a></li>
                    <li><a href="http://www.xinnet.com" target="_blank" class="fontBlue">新网</a></li>
                    
                </ul>
            </div>
            <div id="headMenu" class="redBox">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            #if($shiro.hasPermission("客户管理"))
  				<a id="customManage" style="color: yellow;height: 40px;" href="#" onclick="javaScript:customManage();">客户管理</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        	#end
        	
        	#if($shiro.hasPermission("业务管理"))
  				<a id="serviceManage" href="#" onclick="javaScript:serviceManage();">业务管理</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        	#end
        	
        	#if($shiro.hasPermission("权限管理"))
  				<a id="authorityManage" href="#" onclick="javaScript:authorityManage();">权限管理</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        	#end
        	
        	#if($shiro.hasPermission("规则设定"))
  				<a id="ruleSet" href="#" onclick="javaScript:ruleSet();">规则设定</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        	#end
            	
           	#if($shiro.hasPermission("消息发布"))
           		<a id="massagePublish" href="#" onclick="javaScript:massagePublish();">消息发布</a>
           	#end
            </div>
        </div>
        

</body>
</html>
